
package com.wwy.monitor.model.tddl.vo;

import java.util.Date;
import java.util.List;

import com.wwy.monitor.model.tddl.dto.MonitorReceiverDTO;
import com.wwy.monitor.model.tddl.dto.MonitorTaskDTO;
import lombok.Getter;
import lombok.Setter;

/**
 * @Description：
 * @Author: zhenfei.gz
 * @Date: 2019/11/4 9:09 PM
 */
@Getter
@Setter
public class MonitorTaskVo extends MonitorTaskDTO {
    private Integer changeStatus;
    private List<String> ipList;
    private List<Long> idList;
    private Long configId;
    private String configName;
    private String appName;
    /**
     * 请求url，如：/cls/upload
     */
    private String url;
    /**
     * 请求参数，json类型
     */
    private String param;
    /**
     * 期望的结果值
     */
    private String exceptResult;
    /**
     * 请求方法
     */
    private String requestMethod;
    /**
     * 请求头，json
     */
    private String requestHeader;
    /**
     * 比较运算符
     */
    private Integer comparator;

    private List<MonitorReceiverDTO> receiverList;

    private String serverIp;

    private List<MonitorLogVO> resultList;

    private Integer ipSize = 0;

    private Integer successCount = 0;

    private Integer failCount = 0;

    private Integer port;

    private String protocol;

    private Date alertDelayTime;

    private Integer monitorType;

    private String domainUrl;

    /**
     * http请求内容编码类型 : 1 json ,2 formdata
     */
    private Integer contentType;
}